package com.example.easybuy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.solr.client.solrj.beans.Field;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 张子晨
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "EasybuyProduct对象", description = "")
public class EasybuyProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @Field("id")
    private Integer id;

    @ApiModelProperty(value = "名称")
    @Field("prod_name")
    private String name;

    @ApiModelProperty(value = "描述")
    @Field("prod_description")
    private String description;

    @ApiModelProperty(value = "价格")
    @Field("prod_price")
    private double price;

    @ApiModelProperty(value = "库存")
    @Field("prod_stock")
    private Integer stock;

    @ApiModelProperty(value = "分类1")
    @Field("prod_categoryLevel1Id")
    private Integer categoryLevel1Id;

    @ApiModelProperty(value = "分类2")
    @Field("prod_categoryLevel2Id")
    private Integer categoryLevel2Id;

    @ApiModelProperty(value = "分类3")
    @Field("prod_categoryLevel3Id")
    private Integer categoryLevel3Id;

    @ApiModelProperty(value = "文件名称")
    @Field("prod_fileName")
    private String fileName;

    @ApiModelProperty(value = "是否删除(1：删除 0：未删除)")
    @Field("prod_isDelete")
    private Integer isDelete;


}
